package org.jeecg.modules.demo.weixin.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 订单手续费表
 * @Author: jeecg-boot
 * @Date:   2023-12-23
 * @Version: V1.0
 */
@Data
@TableName("smt_split_order_fee")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smt_split_order_fee对象", description="订单手续费表")
public class SmtSplitOrderFee implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**分账记录id*/
	@Excel(name = "分账记录id", width = 15)
    @ApiModelProperty(value = "分账记录id")
    private Integer recordId;
	/**门店id*/
	@Excel(name = "门店id", width = 15)
    @ApiModelProperty(value = "门店id")
    private String merchantId;
	/**门店名称*/
	@Excel(name = "门店名称", width = 15)
    @ApiModelProperty(value = "门店名称")
    private String merName;
	/**包含订单ids*/
	@Excel(name = "包含订单ids", width = 15)
    @ApiModelProperty(value = "包含订单ids")
    private String orderIds;
	/**费率ID*/
	@Excel(name = "费率ID", width = 15)
    @ApiModelProperty(value = "费率ID")
    private Integer ruleFeeId;
	/**付款类型0微信1支付宝2现金3余额*/
	@Excel(name = "付款类型0微信1支付宝2现金3余额", width = 15)
    @ApiModelProperty(value = "付款类型0微信1支付宝2现金3余额")
    @Dict(dicCode = "Mer_Jerking_payType")
    private String payType;
	/**订单总金额*/
	@Excel(name = "订单总金额", width = 15)
    @ApiModelProperty(value = "订单总金额")
    private BigDecimal orderAmounts;
	/**可分配金额*/
	@Excel(name = "可分配金额", width = 15)
    @ApiModelProperty(value = "可分配金额")
    private BigDecimal splitAmounts;
	/**税费合计*/
	@Excel(name = "税费合计", width = 15)
    @ApiModelProperty(value = "税费合计")
    private BigDecimal feeAmounts;
	/**基础税费合计*/
	@Excel(name = "基础税费合计", width = 15)
    @ApiModelProperty(value = "基础税费合计")
    private BigDecimal feeBasicAmounts;
	/**附加税费合计*/
	@Excel(name = "附加税费合计", width = 15)
    @ApiModelProperty(value = "附加税费合计")
    private BigDecimal feeAddAmounts;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private String description;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
